<?php

use yii\db\Migration;

class m161104_084258_update_member_table extends Migration
{
    public function up()
    {
        $this->addColumn('member', 'reason', $this->string());
        $this->addColumn('member', 'company', $this->string());
        $this->addColumn('member', 'englishcompany', $this->string());
    }

    public function down()
    {
        $this->dropColumn('member', 'reason');
        $this->dropColumn('member', 'company');
        $this->dropColumn('member', 'englishcompany');
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
